FROM  bitnami/python:3.8.13
RUN pip config --global set global.index-url https://mirrors.aliyun.com/pypi/simple/ && pip config --global set install.trusted-host mirrors.aliyun.com
WORKDIR /app
COPY . .
RUN apt update && apt install -y pkg-config libmariadb-dev libmariadb-dev
RUN pip install -r requirements.txt
ENV TZ=Asia/Shanghai
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]


